package com.gking.centerSystem.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


/**
 * 用户角色
 */
@Data
@TableName("sy_user_roles")
public class UserRoles implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键id
    @TableId
    private String id;

    //用户id
    @TableField(value = "userId")
    private String userId;

    //角色id
    @TableField(value = "roleId")
    private String roleId;
}
